package com.un.ebs.product.mapper;

import com.un.ebs.product.domain.ProductClassAttrExt;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 1 Mapper 接口
 * </p>
 *
 * @author liubo
 * @since 2019-11-04
 */
@Component
public interface ProductClassAttrExtMapper extends BaseMapper<ProductClassAttrExt> {
    @Select("select isnull(max(sort)+1,1) from v_product_class_attr_ext")
    int maxSort();

}
